package com.spboot.exts.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spboot.exts.entity.Permission;
import com.spboot.exts.mapper.PermissionMapper;
import com.spboot.exts.service.PermissionService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author guocb
 * @since 2019-09-12
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {

	public List<Permission> selectRolePermission(Long roleId) {
		return this.baseMapper.selectRolePermission(roleId);
	}
}
